<?php

namespace app\admin\validate;

use think\Validate;

class Category extends Validate
{
    protected $rule = [
        'title|菜单名称' => 'require|max:50',
        'tid|显示位置' => 'require|number',
        'des|菜单排序' => 'require|number',
    ];

}